﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tasker.Composition.Events;

namespace Tasker.Composition
{
    /// <summary>
    /// Resolver that resolvers standard composition classes.
    /// They are included by default.
    /// </summary>
    class CompositionResolver :
        IDependencyResolver,
        IDependencyTypeResolver<IEventAggregator>
    {
        IEventAggregator IDependencyTypeResolver<IEventAggregator>.Resolve()
        {
            return new EventAggregator();
        }
    }
}
